<?php
/* $Id: test.php UTF-8 2013-3-29 ����4:06:08 zhangxin  $ */

require_once 'init.php';

$arr = array(
		array('name'=>'zhangxin1','age'=>21),
		array('name'=>'zhangxin2','age'=>22),
		array('name'=>'zhangxin3','age'=>23),
		array('name'=>'zhangxin4','age'=>24),
		array('name'=>'zhangxin5','age'=>25),
		array('name'=>'zhangxin6','age'=>26)
	  );

$smarty->assign("arr",$arr);
$smarty->display('test_array.dwt');